﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MvcSmartTool.Common {
    public class BasePropertyChanged : INotifyPropertyChanged{
        public event PropertyChangedEventHandler PropertyChanged;
        protected void NotifyChanged(string prop) {
            if (this.PropertyChanged != null) {
                this.PropertyChanged(this, new PropertyChangedEventArgs(prop));
            }
        }
    }
}
